package com.ca.project.Server.Modules.SuperUser.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * 管理员登陆参数实体对象
 *
 * @PACKAGE_NAME: com.ca.project.Server.Modules.SuperUser.PO
 * @NAME: SuperUserLoginPO
 * @USER: ASUS
 * @DATE: 4/10/2023
 * @TIME: 下午11:29
 **/
@ApiModel(value = "管理员登陆参数")
@Data
public class SuperUserLoginPO implements Serializable {
    private static final long serialVersionUID = 4811192290189376363L;

    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不能为空")
    private String password;

}
